﻿<%@ Assembly Name="TST.WebParts, Version=1.2.0.0, Culture=neutral, PublicKeyToken=503edd7b21a430b3" %>
<%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" Inherits="TST.WebParts.ContentByTypeEditor" MasterPageFile="~/_layouts/dialog.master" %>
<%@ Import Namespace="Microsoft.SharePoint.WebControls" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="LinksTable" Src="/_controltemplates/LinksTable.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="LinkSection" Src="/_controltemplates/LinkSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ActionBar" Src="/_controltemplates/ActionBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBar" Src="/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" Src="/_controltemplates/ToolBarButton.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" Src="/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="ctconf" TagName="ContentTypeConfiguration" Src="/_layouts/TST/ContentTypeConfiguration.ascx" %>
<%@ Register TagPrefix="fldconf" TagName="FieldsConfiguration" Src="/_layouts/TST/FieldsConfiguration.ascx" %>
<%@ Register TagPrefix="grdconf" TagName="GridConfiguration" Src="/_layouts/TST/GridConfiguration.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderDialogHeaderPageTitle" runat="server">
    <asp:Literal runat="server" ID="dialogTitle" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:ScriptLink ID="ScriptLink1" Language="javascript" Name="core.js" runat="server" />

    <script type="text/javascript" language="javascript">
        function ConfigurationSaved()
        {
            window.parent.returnValue=undefined;
		    window.top.close(); 
        }
    </script>

    <SharePoint:FormDigest ID="FormDigest1" runat="server" />
    <style type="text/css">
    body
    {
    font-size: 11px;
    }
    .GroupEdit
    {
      font-size: 11px;
      font-weight: bold;
    }
    .LabelEdit
    {
    font-size: 11px;
    }
    .ValueEdit
    {
    font-size: 11px;
	padding-left: 2px !important;
	padding-right: 2px !important;
    }
    .ValueEditCheckBox
    {
    font-size: 11px;
	padding-left: 2px !important;
	padding-right: 2px !important;
    }
    .listBox
    {
     border: solid gray 1px !important;
    }
    H2
    {
    font-size: 14px;
    font-weight: bold;
    padding-bottom:2px;
    margin-bottom: 0px;
    }
    .selectedMenuItem
    {
    
    }
    .linkButton
    {
     font-size: 11px;
    }
    p
    {
    margin-top: 2px;
    }
    /* Menu control that looks like a tab strip */
.tab, .tabItem
{
 font-family:Verdana,Arial,Helvetica;
 font-size: 9pt;
 font-weight:normal; 
 text-decoration: none;
}
.tab 
{
 padding-top: 3px;
 padding-left: 3px;
 padding-right: 0px;
 text-align: center;
}
.tab a:link, .tab a:visited, .tab a:hover
{
 text-decoration: none;
 color:#333333;
}
.tabPage   /* If the area beneath the tab strip needs to have a box defined, use this style in the <td> */
{  
  overflow: none;
  background-color: #eae9e1;
  border-top: solid 1px gainsboro;
  height: 580px;
  overflow: hidden;
  padding:2px;
  width: 824px;
}
.tabItem  
{
 padding: 2px 2px 0px 2px;
 border-top: solid 1px gainsboro;
 border-left: solid 1px gainsboro;
 border-right: solid 1px darkgray;
 border-bottom: solid 1px #F7F6F3;
 background-color: #F7F6F3;
}
.tabSelected  
{
 border-style: outset;
 border-bottom: solid 1px #eae9e1; 
 background-color: #eae9e1;
 font-weight: bold;
}
.tabHover 
{
 border-style: outset;
 border-bottom: solid 1px #ccd9c0;
 background-color: #d8e1ce;
}
	
.fieldEditor
{ 
overflow-y: scroll; 
overflow-x: hidden;
height: 560px; 
padding: 2px;
padding-left: 4px;
}
 
.itemsList
{
 overflow: scroll; 
 height: 485px; 
 border-right: black 1px solid; 
 border-top: black 1px solid;
 border-left: black 1px solid; 
 border-bottom: black 1px solid; 
 background-color: White; 
 padding-left: 2px;
}
                    
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderDialogImage" runat="server">
    <asp:Image ID="pickerIcon" Width="32" Height="32" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderDialogDescription" runat="server">
    <asp:Literal runat="server" ID="dialogDescription" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="PlaceHolderHelpLink" runat="server">
    <asp:Image ID="helpIcon" runat="server" ImageUrl="/_layouts/images/hhelp.gif" ToolTip="Show help page" />
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="PlaceHolderDialogBodyMainSection" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 50%; padding: 5px" valign="top">
                <ctconf:ContentTypeConfiguration id="contentTypeConfiguration" runat="server"></ctconf:ContentTypeConfiguration>
            </td>
            <td style="width: 50%; padding: 5px" valign="top">
                <grdconf:GridConfiguration id="gridConfiguration" runat="server"></grdconf:GridConfiguration>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="padding: 5px" valign="top">
                <fldconf:FieldsConfiguration id="fieldsConfiguration" runat="server"></fldconf:FieldsConfiguration>
            </td>
        </tr>
    </table>
</asp:Content>
